package com.enzo.prms.common.exception.base;

public class BaseAppException extends Exception {
	
	private static final long serialVersionUID = -514625748166942746L;
	
	private String errorCode;

	public String getErrorCode() {
		return errorCode;
	}

	public void setErrorCode(String errorCode) {
		this.errorCode = errorCode;
	}

	public BaseAppException() {
		super();
	}

	public BaseAppException(String message, Throwable cause) {
		super(message, cause);
	}

	public BaseAppException(String errorCode, String message, Throwable cause) {
		this(message, cause);
		setErrorCode(errorCode);
	}

	public BaseAppException(String message) {
		super(message);
	}

	public BaseAppException(Throwable cause) {
		super(cause);
	}

}
